﻿using Windows.UI.Xaml.Controls;

// The Settings Flyout item template is documented at http://go.microsoft.com/fwlink/?LinkId=273769

namespace SharPy
{
    public sealed partial class AboutFlyout : SettingsFlyout
    {
        private SharPy.Common.ObservableDictionary defaultViewModel = new SharPy.Common.ObservableDictionary();

        public AboutFlyout()
        {
           
            this.InitializeComponent();

            DataModel.DataAbout about = new DataModel.DataAbout();
            this.DefaultViewModel["Version"] = SharPy.DataModel.DataAbout.GetVersion().Result;
        }

        public SharPy.Common.ObservableDictionary DefaultViewModel
        {
            get { return this.defaultViewModel; }
        }

    }
}
